package com.cole.miniapp.project.enumeration.user;

/**
 * @Author: Ceanie
 * @Despriction:
 * @Date: Created in 22:47 2019-04-28
 * @Modify By: 充值状态  0、未充值 1、充值中 2、充值成功 3、充值失败
 **/
public enum UserRechargeStateEmun {
    /**
     * 未充值
     */
    CODE_0((byte)0,"未充值"),

    /**
     * 充值中
     */
    CODE_1((byte)1,"充值中"),

    /**
     * 充值成功
     */
    CODE_2((byte)2,"充值成功"),

    /**
     * 充值失败
     */
    CODE_3((byte)3,"充值失败");

    private final Byte code;

    private final String msg;

    private UserRechargeStateEmun(Byte code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Byte getCode() {
        return code;
    }

    public String getMsg(){
        return msg;
    }
}
